fix: 버튼 라우팅 경로 수정#89
Conversation
Summary of ChangesHello @Jieunsse, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! 이 PR은 팀 대시보드 내 '리스트 보기' 버튼의 라우팅 경로를 수정하여 사용자가 올바른 작업 목록 페이지로 이동할 수 있도록 합니다. 기존의 잘못된 경로를 새로운 경로로 업데이트함으로써, 사용자 경험을 개선하고 기능의 정확성을 확보했습니다. Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
|
|
||
| <aside className={styles.rightPanel}> | ||
| <Link href={`/list?groupId=${teamid}`} className={styles.listLink}> | ||
| <Link href={`/${teamid}/tasklist`} className={styles.listLink}> |
There was a problem hiding this comment.
라우트 경로를 문자열로 직접 작성하는 대신, 경로를 관리하는 별도의 파일을 만들어 사용하는 것을 고려해 보세요. 이렇게 하면 경로가 변경될 때 여러 파일을 수정할 필요 없이 한 곳에서만 관리할 수 있어 유지보수성이 향상됩니다.
예를 들어, paths.ts와 같은 파일을 만들 수 있습니다:
// src/constants/paths.ts
export const PATHS = {
teamTaskList: (teamId: string | number) => `/${teamId}/tasklist`,
teamDashboard: (teamId: string | number) => `/${teamId}`,
addTeam: '/addteam',
};그리고 다음과 같이 사용할 수 있습니다:
// 사용 예시
import { PATHS } from '@/constants/paths';
// ...
<Link href={PATHS.teamTaskList(teamid)} ... >
Summary
Issue
Scope
포함
특이사항